<?php

	require_once(realpath(dirname(__FILE__)) . "/Baseobj.class.php");

	class Autorisationdesc extends Baseobj{

		var $id;
		var $autorisation;
		var $titre;
		var $chapo;
		var $description;
		var $postscriptum;
		var $lang;


		const TABLE="autorisationdesc";
		var $table=self::TABLE;


		var $bddvars = array("id", "autorisation", "titre", "chapo", "description", "postscriptum", "lang");

		function __construct(){
			parent::__construct();
		}


		function charger($autorisation, $lang=1){
			return $this->getVars("select * from $this->table where autorisation=\"$autorisation\" and lang=\"$lang\"");
		}
	}


?>